pip --no-cache-dir install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
pip --no-cache-dir install scikit-learn==0.21.3 -i https://pypi.tuna.tsinghua.edu.cn/simple

pip --no-cache-dir install opencv-python -U -i https://pypi.tuna.tsinghua.edu.cn/simple
pip --no-cache-dir install tensorboard -i https://pypi.tuna.tsinghua.edu.cn/simple
pip --no-cache-dir install pycocotools -i https://pypi.tuna.tsinghua.edu.cn/simple
pip --no-cache-dir install pyyaml==3.12 --ignore-installed -i https://pypi.tuna.tsinghua.edu.cn/simple
pip --no-cache-dir install tensorboardX -i https://pypi.tuna.tsinghua.edu.cn/simple
pip --no-cache-dir install cython==0.27.3 -i https://pypi.tuna.tsinghua.edu.cn/simple
#pip --no-cache-dir install mmcv-full==latest+torch1.6.0+cu101 -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html

# conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=9.2 -c pytorch -y && conda clean --all -y
# pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu92/torch1.6.0/index.html

#for 3090
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=11.0 -c pytorch
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.0/index.html


pip --no-cache-dir install packaging -i https://pypi.tuna.tsinghua.edu.cn/simple
cd lib && sh make.sh && cd ..
mkdir -p data/selective_search_model && mkdir -p data/pretrained_model

